FluentBoards\App\Http\Controllers\BoardController D

Total Complexity 148
Dependencies 30
Dependents 0
Total lines 1,194
Lines of code 859
Logical lines of code 436
Comment lines 65
Methods 53
Properties 4

Methods 53

Method Rating Maintainability Complexity Lines of code
getBoards()
A
42 10 50
getBoardUsers()
A
38 8 74
createFirstBoard()
A
45 7 41
create()
A
46 7 37
uploadBoardBackground()
S
41 5 55
getStageTaskAvailablePositions()
S
54 6 21
duplicateBoard()
S
50 5 29
setBoardBackground()
S
51 5 26
moveAllTasks()
S
56 5 17
boardUserRole()
S
67 6 7
changeStageView()
S
52 4 25
getOnlyBoardsByUser()
S
53 4 21
getRecentBoards()
S
57 4 17
getBoardFolderMapping()
S
57 4 16
getCurrentFolderInfo()
S
58 4 15
getAssociateCrmContacts()
S
50 3 29
find()
S
52 3 24
getArchivedStage()
S
53 3 23
searchBoards()
S
53 3 21
delete()
S
60 3 13
skipOnboarding()
S
63 3 10
addMembersInBoard()
S
58 2 15
getBoardsList()
S
58 2 14
restoreStage()
S
59 2 14
changePositionOfStage()
S
59 2 14
archiveStage()
S
59 2 13
repositionStages()
S
61 2 12
importFromBoard()
S
61 2 12
archiveBoard()
S
62 2 11
restoreBoard()
S
62 2 11
unpinBoard()
S
62 2 11
update()
S
58 1 16
getActivities()
S
63 2 10
removeUserFromBoard()
S
65 2 9
getBoardFolder()
S
63 2 10
getBoardMenuItems()
S
63 2 10
createStage()
S
59 1 14
updateBoardProperties()
S
61 1 12
__construct()
S
69 1 7
getBoardsByType()
S
70 1 6
getAssigneesByBoard()
S
73 1 5
getCurrencies()
S
81 1 3
boardSanitizeAndValidate()
S
75 1 4
stageSanitizeAndValidate()
S
75 1 4
taskSanitizeAndValidate()
S
75 1 4
getUsersOfBoards()
S
71 1 6
updateAssociateCrmContact()
S
68 1 7
hasDataChanged()
S
80 1 3
archiveAllTasksInStage()
S
68 1 7
getAssociatedBoards()
S
71 1 6
getBoardDefaultBackgroundColors()
S
72 1 6
getPinnedBoards()
S
71 1 6
pinBoard()
S
70 1 6